package com.ddwl.schema.vo.order;

import com.ddwl.schema.vo.base.BaseVo;
import com.ddwl.schema.vo.goods.SkuVo;
import com.ddwl.schema.vo.user.UserVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.Instant;

/**
 * 售后订单详情列表
 *
 * @author wenbin
 * @Instant :2020-06-02 15:03.
 */
@Getter
@Setter
@ApiModel("售后订单详情列表")
public class AfterSaleOrderVo extends BaseVo {

    @ApiModelProperty("原订单号")
    private String orderId;

    @ApiModelProperty("原spu订单号")
    private String spuOrderId;

    @ApiModelProperty("售后skuId")
    private String skuId;

    @ApiModelProperty("订单spu")
    private OrderSpuVo spu;

    @ApiModelProperty("售后数量")
    private Integer skuQty;

    @ApiModelProperty("申请类型(0.退货退款 1仅退款 2换货)")
    private Integer afterSaleType;

    @ApiModelProperty("退款原因")
    private Integer afterSaleReason;

    @ApiModelProperty("退款金额")
    private BigDecimal afterSaleAmount;

    @ApiModelProperty("退款说明")
    private String afterSaleRemark;

    @ApiModelProperty("售后图片1")
    private String afterSaleImage1;
    @ApiModelProperty("售后图片2")
    private String afterSaleImage2;
    @ApiModelProperty("售后图片3")
    private String afterSaleImage3;
    @ApiModelProperty("售后图片4")
    private String afterSaleImage4;
    @ApiModelProperty("售后图片5")
    private String afterSaleImage5;
    @ApiModelProperty("售后图片6")
    private String afterSaleImage6;

    @ApiModelProperty("售后收件人电话")
    private String afterSaleTel;
    @ApiModelProperty("售后收件人地址")
    private String afterSaleAddr;
    @ApiModelProperty("售后收件人")
    private String afterSaleReceiver;

    @ApiModelProperty("快递公司名字")
    private String logisticsName;
    @ApiModelProperty("物流单号")
    private String logisticsNo;
    @ApiModelProperty("物流公司编码")
    private String logisticsCode;

    @ApiModelProperty("售后状态(0取消售后 1提交申请 2客服受理 3寄回中 4官方收货  5退款中 6完成退款 7完成换货 8已拒绝 9售后单已关闭)")
    private Integer afterSaleStatus;

    @ApiModelProperty("售后拒绝原因")
    private String rejectReason;

    @ApiModelProperty("售后订单号")
    private String id;

    @ApiModelProperty("用户ID")
    private String userId;

    @ApiModelProperty("用户")
    private String userName;
    @ApiModelProperty("用户电话")
    private String userTel;

    @ApiModelProperty("用户信息")
    private UserVo user;

    @ApiModelProperty("寄给用户物流单号")
    private String reLogisticsNo;

    @ApiModelProperty("寄回到客户物流编码")
    private String reLogisticsCode;

    @ApiModelProperty("寄回到客户物流公司")
    private String reLogisticsName;

    @ApiModelProperty("售后单过期时间")
    private Instant expiredTime;

    @ApiModelProperty("寄回到客户电话")
    private String reSendTel;

    @ApiModelProperty("寄回到客户地址")
    private String reSendAddr;

    @ApiModelProperty("寄回到客户区域")
    private String reSendRegion;

    @ApiModelProperty("寄回到客户姓名")
    private String reSendReceiver;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty(value = "店铺id")
    private String shopId;
    @ApiModelProperty(value = "店铺id")
    private String shopName;
    @ApiModelProperty(value = "店铺logo")
    private String shopLogo;

    @ApiModelProperty(value = "自动退款时间")
    private Instant autoRefundTime;

    @ApiModelProperty(value = "sku编码")
    private String barcode;
    @ApiModelProperty(value = "运费")
    private BigDecimal fare;

    @ApiModelProperty(value = "skuVo")
    private SkuVo skuVo;

}
